home *** CD-ROM | disk | FTP | other *** search
Wrap
startrecord=true label=aamaintenancemode nodetype=8 line1=procedure line2=parse arg mailbox . line3= line4= line5= line6= line7= line8= line9= line10= nextactiontype=3 nextactionaction= endrecord=true startrecord=true label= nodetype=8 line1=call loadMailbox(mailbox) line2=good = getPassword(mailbox.password) line3=if good = 0 then signal answerVoiceDone line4= line5= line6= line7= line8= line9= line10= nextactiontype=3 nextactionaction= endrecord=true startrecord=true label= nodetype=8 line1=logsthis = words(showdir(logFile(mailbox, ''))) line2=logsanonymous = words(showdir(logFile('anonymous', ''))) line3=if upper(mailbox) = 'ANONYMOUS' then logsanonymous = 0 line4= line5= line6= line7= line8= line9= line10= nextactiontype=3 nextactionaction= endrecord=true startrecord=true label= nodetype=8 line1=if logsthis > 0 then call sayCountEntries(logsthis, 0) line2=if logsanonymous > 0 then call sayCountEntries(logsanonymous, 1) line3= line4= line5= line6= line7= line8= line9= line10= nextactiontype=3 nextactionaction= endrecord=true startrecord=true label=maintenanceModeAgain nodetype=3 filename='avm:voices/maintenancemode' comment=Enter 1 to retrieve your messages, 2 to record a personal message, 3 to change introduction options, 4 to change your password, 5 to send a message, 6 to change auto options, 7 to edit the outgoing mailbox [#=previous menu, 0=repeat menu, *=hangup] retries=3 zeroactiontype=0 zeroactionaction=maintenanceModeAgain oneactiontype=2 oneactionaction=call retrievemessages(mailbox) twoactiontype=2 twoactionaction=call recordMessage(voiceFile(mailbox, 'Personal')) threeactiontype=2 threeactionaction=call changeintrooptions() fouractiontype=2 fouractionaction=call changepassword() fiveactiontype=2 fiveactionaction=call sendMessageTo('Outgoing', mailbox, '', makeUniqueFile(), 'Voice', voiceFile(mailbox, 'Introduction'), '', '') sixactiontype=2 sixactionaction=call changeautooptions(mailbox) sevenactiontype=2 sevenactionaction=call aaretrievemessages('Outgoing', 1, mailbox) eightactiontype=3 eightactionaction= nineactiontype=3 nineactionaction= poundactiontype=2 poundactionaction=return staractiontype=0 staractionaction=answervoiceDone faxactiontype=0 faxactionaction=stdfax dataactiontype=0 dataactionaction=stddata busyactiontype=0 busyactionaction=stdbusy timedoutactiontype=0 timedoutactionaction=answerVoiceDone abortactiontype=0 abortactionaction=stdabort erroractiontype=0 erroractionaction=stderror nextactiontype=0 nextactionaction=maintenanceModeAgain endrecord=true startrecord=true label= nodetype=7 filename=avm:rexx/getpassword.avm nextactiontype=3 nextactionaction= endrecord=true startrecord=true label=retrievemessages nodetype=8 line1=procedure line2=parse arg mailbox . line3= line4=call aaretrievemessages(mailbox, 0, mailbox) line5= line6= line7= line8= line9= line10= nextactiontype=3 nextactionaction= endrecord=true startrecord=true label= nodetype=8 line1= line2= line3=if upper(mailbox) = 'ANONYMOUS' then return line4= line5= line6= line7= line8= line9= line10= nextactiontype=3 nextactionaction= endrecord=true startrecord=true label= nodetype=1 filename='avm:voices/retrieveanonymous' comment=You're now in the anonymous mailbox. keyactiontype=3 keyactionaction= faxactiontype=0 faxactionaction=stdfax dataactiontype=0 dataactionaction=stddata busyactiontype=0 busyactionaction=stdbusy abortactiontype=0 abortactionaction=stdabort erroractiontype=0 erroractionaction=stderror nextactiontype=3 nextactionaction= endrecord=true startrecord=true label= nodetype=8 line1=call aaretrievemessages('Anonymous', 0, mailbox) line2= line3= line4= line5= line6= line7= line8= line9= line10= nextactiontype=3 nextactionaction= endrecord=true startrecord=true label= nodetype=1 filename='avm:voices/backhome' comment=You're back in your own mailbox. keyactiontype=3 keyactionaction= faxactiontype=0 faxactionaction=stdfax dataactiontype=0 dataactionaction=stddata busyactiontype=0 busyactionaction=stdbusy abortactiontype=0 abortactionaction=stdabort erroractiontype=0 erroractionaction=stderror nextactiontype=2 nextactionaction=return endrecord=true startrecord=true label=changepassword nodetype=8 line1=number = getNumber() line2=if number ~= '' then do line3= mailbox.password = number line4= call saveMailbox(mailbox) line5=end line6= line7= line8= line9= line10= nextactiontype=2 nextactionaction=return endrecord=true startrecord=true label=sayCountEntries nodetype=8 line1=parse arg count, inAnon line2=if count = 1 & inAnon then signal say1Anon line3=else if count = 1 & inAnon = 0 then signal say1This line4= line5= line6= line7= line8= line9= line10= nextactiontype=3 nextactionaction= endrecord=true startrecord=true label=sayCountMultiple nodetype=1 filename='avm:voices/ThereAre' comment=There are... keyactiontype=3 keyactionaction= faxactiontype=0 faxactionaction=stdfax dataactiontype=0 dataactionaction=stddata busyactiontype=0 busyactionaction=stdbusy abortactiontype=0 abortactionaction=stdabort erroractiontype=0 erroractionaction=stderror nextactiontype=3 nextactionaction= endrecord=true startrecord=true label= nodetype=8 line1=call playddnumber(count) line2=if inAnon then signal sayCountAnon line3=else signal sayCountThis line4= line5= line6= line7= line8= line9= line10= nextactiontype=3 nextactionaction= endrecord=true startrecord=true label=sayCountAnon nodetype=1 filename='avm:voices/InAnonMailbox' comment=...in the anonymous mailbox. keyactiontype=3 keyactionaction= faxactiontype=0 faxactionaction=stdfax dataactiontype=0 dataactionaction=stddata busyactiontype=0 busyactionaction=stdbusy abortactiontype=0 abortactionaction=stdabort erroractiontype=0 erroractionaction=stderror nextactiontype=2 nextactionaction=return endrecord=true startrecord=true label=sayCountThis nodetype=1 filename='avm:voices/InThisMailbox' comment=...in this mailbox. keyactiontype=3 keyactionaction= faxactiontype=0 faxactionaction=stdfax dataactiontype=0 dataactionaction=stddata busyactiontype=0 busyactionaction=stdbusy abortactiontype=0 abortactionaction=stdabort erroractiontype=0 erroractionaction=stderror nextactiontype=2 nextactionaction=return endrecord=true startrecord=true label=say1Anon nodetype=1 filename='avm:voices/OneInAnonMailbox' comment=There is 1 message in the anonymous mailbox. keyactiontype=3 keyactionaction= faxactiontype=0 faxactionaction=stdfax dataactiontype=0 dataactionaction=stddata busyactiontype=0 busyactionaction=stdbusy abortactiontype=0 abortactionaction=stdabort erroractiontype=0 erroractionaction=stderror nextactiontype=2 nextactionaction=return endrecord=true startrecord=true label=say1This nodetype=1 filename='avm:voices/OneInThisMailbox' comment=There is 1 message in this mailbox. keyactiontype=3 keyactionaction= faxactiontype=0 faxactionaction=stdfax dataactiontype=0 dataactionaction=stddata busyactiontype=0 busyactionaction=stdbusy abortactiontype=0 abortactionaction=stdabort erroractiontype=0 erroractionaction=stderror nextactiontype=2 nextactionaction=return endrecord=true startrecord=true label=changeintrooptions nodetype=3 filename='avm:voices/changeintrooptions' comment=Enter 1 to use the day of week, 2 to use the time of day, 3 to use random selection, 4 for manual selection, 5 to record one of the introductory messages. [*=hangup, #=previous menu, 0=repeat menu] retries=3 zeroactiontype=0 zeroactionaction=changeintrooptions oneactiontype=2 oneactionaction=call setclip('AVMIntroductionType', 'DAYOFWEEK') twoactiontype=2 twoactionaction=call setclip('AVMIntroductionType', 'TIMEOFDAY') threeactiontype=2 threeactionaction=call setclip('AVMIntroductionType', 'RANDOM') fouractiontype=2 fouractionaction=call changetomanual() fiveactiontype=2 fiveactionaction=call recordintro() sixactiontype=3 sixactionaction= sevenactiontype=3 sevenactionaction= eightactiontype=3 eightactionaction= nineactiontype=3 nineactionaction= poundactiontype=2 poundactionaction=return staractiontype=0 staractionaction=answervoiceDone faxactiontype=0 faxactionaction=stdfax dataactiontype=0 dataactionaction=stddata busyactiontype=0 busyactionaction=stdbusy timedoutactiontype=0 timedoutactionaction=answerVoiceDone abortactiontype=0 abortactionaction=stdabort erroractiontype=0 erroractionaction=stderror nextactiontype=0 nextactionaction=changeintrooptions endrecord=true startrecord=true label=changetomanual nodetype=3 filename='avm:voices/selectmanualintro' comment=Press 1 to 7 to select the introductory message you want people to hear. retries=3 zeroactiontype=0 zeroactionaction=changetomanual oneactiontype=2 oneactionaction=call setclip('AVMIntroductionType', '1') twoactiontype=2 twoactionaction=call setclip('AVMIntroductionType', '2') threeactiontype=2 threeactionaction=call setclip('AVMIntroductionType', '3') fouractiontype=2 fouractionaction=call setclip('AVMIntroductionType', '4') fiveactiontype=2 fiveactionaction=call setclip('AVMIntroductionType', '5') sixactiontype=2 sixactionaction=call setclip('AVMIntroductionType', '6') sevenactiontype=2 sevenactionaction=call setclip('AVMIntroductionType', '7') eightactiontype=3 eightactionaction= nineactiontype=3 nineactionaction= poundactiontype=2 poundactionaction=return staractiontype=0 staractionaction=answervoiceDone faxactiontype=0 faxactionaction=stdfax dataactiontype=0 dataactionaction=stddata busyactiontype=0 busyactionaction=stdbusy timedoutactiontype=0 timedoutactionaction=answerVoiceDone abortactiontype=0 abortactionaction=stdabort erroractiontype=0 erroractionaction=stderror nextactiontype=0 nextactionaction=changetomanual endrecord=true startrecord=true label=recordintro nodetype=3 filename='avm:voices/recordintro' comment=Enter 1-7 for the introductory message you want to re-record. retries=3 zeroactiontype=0 zeroactionaction=recordintro oneactiontype=2 oneactionaction=call recordmessage('avm:voices/intro1') twoactiontype=2 twoactionaction=call recordmessage('avm:voices/intro2') threeactiontype=2 threeactionaction=call recordmessage('avm:voices/intro3') fouractiontype=2 fouractionaction=call recordmessage('avm:voices/intro4') fiveactiontype=2 fiveactionaction=call recordmessage('avm:voices/intro5') sixactiontype=2 sixactionaction=call recordmessage('avm:voices/intro6') sevenactiontype=2 sevenactionaction=call recordmessage('avm:voices/intro7') eightactiontype=3 eightactionaction= nineactiontype=3 nineactionaction= poundactiontype=2 poundactionaction=return staractiontype=0 staractionaction=answervoiceDone faxactiontype=0 faxactionaction=stdfax dataactiontype=0 dataactionaction=stddata busyactiontype=0 busyactionaction=stdbusy timedoutactiontype=0 timedoutactionaction=answerVoiceDone abortactiontype=0 abortactionaction=stdabort erroractiontype=0 erroractionaction=stderror nextactiontype=0 nextactionaction=recordintro endrecord=true startrecord=true label=changeautooptions nodetype=8 line1=procedure line2=parse arg mailbox . line3=call loadMailbox(mailbox) line4= line5= line6= line7= line8= line9= line10= nextactiontype=3 nextactionaction= endrecord=true startrecord=true label=changeautomenu nodetype=3 filename='avm:voices/ChangeAutoOptions' comment=Press 1 to change forwarding options, 2 to change fax forwarding options, or 3 to change paging options retries=3 zeroactiontype=0 zeroactionaction=changeautomenu oneactiontype=2 oneactionaction=call editautooptions('AUTOFORWARDB', 'AUTOFORWARDONDEMAND', 'AUTOFORWARD', 'AUTOFORWARDANNOUNCE') twoactiontype=2 twoactionaction=call editautooptions('AUTOFAXFORWARDB', '', 'AUTOFAXFORWARD', '') threeactiontype=2 threeactionaction=call editautooptions('AUTOPAGEB', 'AUTOPAGEONDEMAND', 'AUTOPAGE', '') fouractiontype=3 fouractionaction= fiveactiontype=3 fiveactionaction= sixactiontype=3 sixactionaction= sevenactiontype=3 sevenactionaction= eightactiontype=3 eightactionaction= nineactiontype=3 nineactionaction= poundactiontype=2 poundactionaction=return staractiontype=0 staractionaction=answerVoiceDone faxactiontype=0 faxactionaction=stdfax dataactiontype=0 dataactionaction=stddata busyactiontype=0 busyactionaction=stdbusy timedoutactiontype=0 timedoutactionaction=answerVoiceDone abortactiontype=0 abortactionaction=stdabort erroractiontype=0 erroractionaction=stderror nextactiontype=0 nextactionaction=changeautomenu endrecord=true startrecord=true label=editautooptions nodetype=8 line1=procedure expose mailbox. mailbox line2=parse arg isOn, onDemand, telNumber, announce line3= line4=call showAutoOptions line5= line6= line7= line8= line9= line10= nextactiontype=3 nextactionaction= endrecord=true startrecord=true label=editautomenu nodetype=3 filename='avm:voices/AutoOptions' comment=Press 1 to enable this auto option, 2 to disable this auto option, 3 to change the auto option telephone number, 4 to change the auto option password, 5 to turn announce on, 6 to turn announce off, 7 to show the current options retries=3 zeroactiontype=0 zeroactionaction=editautomenu oneactiontype=2 oneactionaction=mailbox.isOn = 1; call saveMailbox(mailbox) twoactiontype=2 twoactionaction=mailbox.isOn = 0; call saveMailbox(mailbox) threeactiontype=2 threeactionaction=mailbox.telNumber = getNumber(); call saveMailbox(mailbox) fouractiontype=2 fouractionaction=if onDemand ~= '' then do; mailbox.onDemand = getNumber(); call saveMailbox(mailbox); end fiveactiontype=2 fiveactionaction=if announce ~= '' then do; mailbox.announce = 1; call saveMailbox(mailbox); end sixactiontype=2 sixactionaction=if announce ~= '' then do; mailbox.announce = 0; call saveMailbox(mailbox); end sevenactiontype=2 sevenactionaction=call showAutoOptions() eightactiontype=3 eightactionaction= nineactiontype=3 nineactionaction= poundactiontype=2 poundactionaction=return staractiontype=0 staractionaction=answerVoiceDone faxactiontype=0 faxactionaction=stdfax dataactiontype=0 dataactionaction=stddata busyactiontype=0 busyactionaction=stdbusy timedoutactiontype=0 timedoutactionaction=answerVoiceDone abortactiontype=0 abortactionaction=stdabort erroractiontype=0 erroractionaction=stderror nextactiontype=0 nextactionaction=editautomenu endrecord=true startrecord=true label=showautooptions nodetype=8 line1= line2= line3= line4=if mailbox.isOn = 1 then call autoIsOn(); else call autoIsOff() line5=if onDemand ~= '' then call autoOnDemand(mailbox.onDemand) line6=call autoTelNumber(mailbox.telNumber) line7=if announce ~= '' then line8= if mailbox.announce = 1 then call announceIsOn(); else call announceIsOff() line9= line10= nextactiontype=2 nextactionaction=return endrecord=true startrecord=true label=autoIsOn nodetype=1 filename='avm:voices/AutoIsOn' comment=This auto option is on keyactiontype=3 keyactionaction= faxactiontype=0 faxactionaction=stdfax dataactiontype=0 dataactionaction=stddata busyactiontype=0 busyactionaction=stdbusy abortactiontype=0 abortactionaction=stdabort erroractiontype=0 erroractionaction=stderror nextactiontype=3 nextactionaction= endrecord=true startrecord=true label= nodetype=12 nextactiontype=2 nextactionaction=return endrecord=true startrecord=true label=autoIsOff nodetype=1 filename='avm:voices/autoIsOff' comment=This auto option is off keyactiontype=3 keyactionaction= faxactiontype=0 faxactionaction=stdfax dataactiontype=0 dataactionaction=stddata busyactiontype=0 busyactionaction=stdbusy abortactiontype=0 abortactionaction=stdabort erroractiontype=0 erroractionaction=stderror nextactiontype=3 nextactionaction= endrecord=true startrecord=true label= nodetype=12 nextactiontype=2 nextactionaction=return endrecord=true startrecord=true label=announceIsOn nodetype=1 filename='avm:voices/AnnounceIsOn' comment=Announce is on keyactiontype=3 keyactionaction= faxactiontype=0 faxactionaction=stdfax dataactiontype=0 dataactionaction=stddata busyactiontype=0 busyactionaction=stdbusy abortactiontype=0 abortactionaction=stdabort erroractiontype=0 erroractionaction=stderror nextactiontype=3 nextactionaction= endrecord=true startrecord=true label= nodetype=12 nextactiontype=2 nextactionaction=return endrecord=true startrecord=true label=announceIsOff nodetype=1 filename='avm:voices/AnnounceIsOff' comment=Announce is off. keyactiontype=3 keyactionaction= faxactiontype=0 faxactionaction=stdfax dataactiontype=0 dataactionaction=stddata busyactiontype=0 busyactionaction=stdbusy abortactiontype=0 abortactionaction=stdabort erroractiontype=0 erroractionaction=stderror nextactiontype=3 nextactionaction= endrecord=true startrecord=true label= nodetype=12 nextactiontype=2 nextactionaction=return endrecord=true startrecord=true label=autoOnDemand nodetype=8 line1=procedure line2=parse arg number line3= line4= line5= line6= line7= line8= line9= line10= nextactiontype=3 nextactionaction= endrecord=true startrecord=true label= nodetype=1 filename='avm:voices/AutoOnDemand' comment=The password for this auto option is... keyactiontype=3 keyactionaction= faxactiontype=0 faxactionaction=stdfax dataactiontype=0 dataactionaction=stddata busyactiontype=0 busyactionaction=stdbusy abortactiontype=0 abortactionaction=stdabort erroractiontype=0 erroractionaction=stderror nextactiontype=3 nextactionaction= endrecord=true startrecord=true label= nodetype=8 line1=call playNumber(number) line2= line3= line4= line5= line6= line7= line8= line9= line10= nextactiontype=3 nextactionaction= endrecord=true startrecord=true label= nodetype=12 nextactiontype=2 nextactionaction=return endrecord=true startrecord=true label=autoTelNumber nodetype=8 line1=procedure line2=parse arg number line3= line4= line5= line6= line7= line8= line9= line10= nextactiontype=3 nextactionaction= endrecord=true startrecord=true label= nodetype=1 filename='avm:voices/AutoTelNumber' comment=The telephone number for this auto option is... keyactiontype=3 keyactionaction= faxactiontype=0 faxactionaction=stdfax dataactiontype=0 dataactionaction=stddata busyactiontype=0 busyactionaction=stdbusy abortactiontype=0 abortactionaction=stdabort erroractiontype=0 erroractionaction=stderror nextactiontype=3 nextactionaction= endrecord=true startrecord=true label= nodetype=8 line1=call playNumber(number) line2= line3= line4= line5= line6= line7= line8= line9= line10= nextactiontype=3 nextactionaction= endrecord=true startrecord=true label= nodetype=12 nextactiontype=2 nextactionaction=return endrecord=true startrecord=true label= nodetype=7 filename=avm:rexx/retrievemessages.avm nextactiontype=3 nextactionaction= endrecord=true